FROM ubuntu

#ENV DEBIAN_FRONTEND noninteractive
#ENV GTK_IM_MODULE fcitx
#ENV QT_IM_MODULE fcitx
#ENV XMODIFIERS "@im=fcitx"
#ENV LC_CTYPE zh_CN.UTF-8

RUN apt-get update && apt-get -y install firefox

RUN apt-get install -y language-pack-zh-hans
RUN mkdir /usr/share/fonts/win
ADD simsun.ttc /usr/share/fonts/win/
ADD simhei.ttf /usr/share/fonts/win/

#RUN apt-get install -y xfce4 xfce4-terminal
#RUN apt-get install -y fcitx fcitx-pinyin

#RUN mkdir -p /root/.config/fcitx
#RUN echo [Hotkey] > /root/.config/fcitx/config
#RUN echo TriggerKey=CTRL_ALT_SPACE >> /root/.config/fcitx/config
#RUN echo SwitchKey=Disabled >> /root/.config/fcitx/config
#RUN echo IMSwitchKey=False >> /root/.config/fcitx/config

RUN apt-get autoclean && apt-get autoremove